<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>lib/search.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/lib.html'>lib</a>/search.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/lib.html'>lib</a>/search.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 lib/search.h'  /> */</em>
<hr />
<h2 class='header'><a href='../J/search.h.html' title='Multiple included from 23 places.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='sharp'>#ifndef</em> <a href='../S/lib--search.h.html#L2' title='Defined at 2 in lib/search.h.'>MC__SEARCH_H</a>
<a id='L2' name='L2'></a>   2 <em class='sharp'>#define</em> <a href='../S/lib--search.h.html#L1' title='Referred from 1 in lib/search.h.'>MC__SEARCH_H</a>
<a id='L3' name='L3'></a>   3 
<a id='L4' name='L4'></a>   4 <em class='sharp'>#include</em> &lt;config.h&gt;
<a id='L5' name='L5'></a>   5 
<a id='L6' name='L6'></a>   6 <em class='sharp'>#include</em> "<a href='lib--global.h.html'>lib/global.h</a>"         <em class='comment'>/* &lt;glib.h&gt; */</em>
<a id='L7' name='L7'></a>   7 
<a id='L8' name='L8'></a>   8 <em class='sharp'>#include</em> &lt;sys/types.h&gt;
<a id='L9' name='L9'></a>   9 
<a id='L10' name='L10'></a>  10 <em class='sharp'>#ifdef</em> <a href='../Y/SEARCH_TYPE_PCRE.html' title='Multiple used in 2 places.'>SEARCH_TYPE_PCRE</a>
<a id='L11' name='L11'></a>  11 <em class='sharp'>#include</em> &lt;pcre.h&gt;
<a id='L12' name='L12'></a>  12 <em class='sharp'>#endif</em>
<a id='L13' name='L13'></a>  13 
<a id='L14' name='L14'></a>  14 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L15' name='L15'></a>  15 
<a id='L16' name='L16'></a>  16 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong> <a href='../R/mc_search_cbret_t.html' title='Multiple referred from 13 places.'>mc_search_cbret_t</a> <a href='../D/mc_search_cbret_t.html' title='Multiple defined in 2 places.'>mc_search_cbret_t</a>;
<a id='L17' name='L17'></a>  17 
<a id='L18' name='L18'></a>  18 <strong class='reserved'>typedef</strong> <a href='../D/mc_search_cbret_t.html' title='Multiple defined in 2 places.'>mc_search_cbret_t</a> (*<a href='../Y/mc_search_fn.html' title='Multiple used in 2 places.'>mc_search_fn</a>) (<strong class='reserved'>const</strong> <strong class='reserved'>void</strong> *<a href='../Y/user_data.html' title='Multiple used in 57 places.'>user_data</a>, <a href='../Y/gsize.html' title='Multiple used in 187 places.'>gsize</a> <a href='../Y/char_offset.html' title='Multiple used in 14 places.'>char_offset</a>,
<a id='L19' name='L19'></a>  19                                            <strong class='reserved'>int</strong> *<a href='../Y/current_char.html' title='Multiple used in 23 places.'>current_char</a>);
<a id='L20' name='L20'></a>  20 <strong class='reserved'>typedef</strong> <a href='../D/mc_search_cbret_t.html' title='Multiple defined in 2 places.'>mc_search_cbret_t</a> (*<a href='../Y/mc_update_fn.html' title='Multiple used in 2 places.'>mc_update_fn</a>) (<strong class='reserved'>const</strong> <strong class='reserved'>void</strong> *<a href='../Y/user_data.html' title='Multiple used in 57 places.'>user_data</a>, <a href='../Y/gsize.html' title='Multiple used in 187 places.'>gsize</a> <a href='../Y/char_offset.html' title='Multiple used in 14 places.'>char_offset</a>);
<a id='L21' name='L21'></a>  21 
<a id='L22' name='L22'></a>  22 <em class='sharp'>#define</em> <a href='../R/MC_SEARCH__NUM_REPLACE_ARGS.html' title='Multiple referred from 3 places.'>MC_SEARCH__NUM_REPLACE_ARGS</a> 64
<a id='L23' name='L23'></a>  23 
<a id='L24' name='L24'></a>  24 <em class='sharp'>#ifdef</em> <a href='../Y/SEARCH_TYPE_GLIB.html' title='Multiple used in 12 places.'>SEARCH_TYPE_GLIB</a>
<a id='L25' name='L25'></a>  25 <em class='sharp'>#define</em> <a href='../S/lib--search.h.html#L102' title='Referred from 102 in lib/search.h.'>mc_search_matchinfo_t</a> <a href='../Y/GMatchInfo.html' title='Multiple used in 2 places.'>GMatchInfo</a>
<a id='L26' name='L26'></a>  26 <em class='sharp'>#else</em>
<a id='L27' name='L27'></a>  27 <em class='sharp'>#define</em> <a href='../S/lib--search.h.html#L102' title='Referred from 102 in lib/search.h.'>mc_search_matchinfo_t</a> pcre_extra
<a id='L28' name='L28'></a>  28 <em class='sharp'>#endif</em>
<a id='L29' name='L29'></a>  29 
<a id='L30' name='L30'></a>  30 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L31' name='L31'></a>  31 
<a id='L32' name='L32'></a>  32 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong>
<a id='L33' name='L33'></a>  33 <em class='brace'>{</em>
<a id='L34' name='L34'></a>  34     <a href='../R/MC_SEARCH_E_OK.html' title='Multiple referred from 6 places.'>MC_SEARCH_E_OK</a> = 0,
<a id='L35' name='L35'></a>  35     <a href='../R/MC_SEARCH_E_INPUT.html' title='Multiple referred from 2 places.'>MC_SEARCH_E_INPUT</a>,
<a id='L36' name='L36'></a>  36     <a href='../R/MC_SEARCH_E_REGEX_COMPILE.html' title='Multiple referred from 3 places.'>MC_SEARCH_E_REGEX_COMPILE</a>,
<a id='L37' name='L37'></a>  37     <a href='../S/lib--search--regex.c.html#L336' title='Referred from 336 in lib/search/regex.c.'>MC_SEARCH_E_REGEX</a>,
<a id='L38' name='L38'></a>  38     <a href='../R/MC_SEARCH_E_REGEX_REPLACE.html' title='Multiple referred from 2 places.'>MC_SEARCH_E_REGEX_REPLACE</a>,
<a id='L39' name='L39'></a>  39     <a href='../R/MC_SEARCH_E_NOTFOUND.html' title='Multiple referred from 13 places.'>MC_SEARCH_E_NOTFOUND</a>,
<a id='L40' name='L40'></a>  40     <a href='../S/lib--search--regex.c.html#L988' title='Referred from 988 in lib/search/regex.c.'>MC_SEARCH_E_ABORT</a>
<a id='L41' name='L41'></a>  41 <em class='brace'>}</em> <a href='../R/mc_search_error_t.html' title='Multiple referred from 3 places.'>mc_search_error_t</a>;
<a id='L42' name='L42'></a>  42 
<a id='L43' name='L43'></a>  43 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong>
<a id='L44' name='L44'></a>  44 <em class='brace'>{</em>
<a id='L45' name='L45'></a>  45     <a href='../S/lib--search--search.c.html#L57' title='Referred from 57 in lib/search/search.c.'>MC_SEARCH_T_INVALID</a> = -1,
<a id='L46' name='L46'></a>  46     <a href='../R/MC_SEARCH_T_NORMAL.html' title='Multiple referred from 12 places.'>MC_SEARCH_T_NORMAL</a>,
<a id='L47' name='L47'></a>  47     <a href='../R/MC_SEARCH_T_REGEX.html' title='Multiple referred from 24 places.'>MC_SEARCH_T_REGEX</a>,
<a id='L48' name='L48'></a>  48     <a href='../R/MC_SEARCH_T_HEX.html' title='Multiple referred from 5 places.'>MC_SEARCH_T_HEX</a>,
<a id='L49' name='L49'></a>  49     <a href='../R/MC_SEARCH_T_GLOB.html' title='Multiple referred from 15 places.'>MC_SEARCH_T_GLOB</a>
<a id='L50' name='L50'></a>  50 <em class='brace'>}</em> <a href='../R/mc_search_type_t.html' title='Multiple referred from 10 places.'>mc_search_type_t</a>;
<a id='L51' name='L51'></a>  51 
<a id='L52' name='L52'></a>  52 <strong class='reserved'>enum</strong> <a href='../R/mc_search_cbret_t.html' title='Multiple referred from 13 places.'>mc_search_cbret_t</a>
<a id='L53' name='L53'></a>  53 <em class='brace'>{</em>
<a id='L54' name='L54'></a>  54     <a href='../R/MC_SEARCH_CB_OK.html' title='Multiple referred from 5 places.'>MC_SEARCH_CB_OK</a> = 0,
<a id='L55' name='L55'></a>  55     <a href='../R/MC_SEARCH_CB_INVALID.html' title='Multiple referred from 3 places.'>MC_SEARCH_CB_INVALID</a> = -1,
<a id='L56' name='L56'></a>  56     <a href='../R/MC_SEARCH_CB_ABORT.html' title='Multiple referred from 7 places.'>MC_SEARCH_CB_ABORT</a> = -2,
<a id='L57' name='L57'></a>  57     <a href='../R/MC_SEARCH_CB_SKIP.html' title='Multiple referred from 2 places.'>MC_SEARCH_CB_SKIP</a> = -3,
<a id='L58' name='L58'></a>  58     <a href='../R/MC_SEARCH_CB_NOTFOUND.html' title='Multiple referred from 2 places.'>MC_SEARCH_CB_NOTFOUND</a> = -4
<a id='L59' name='L59'></a>  59 <em class='brace'>}</em>;
<a id='L60' name='L60'></a>  60 
<a id='L61' name='L61'></a>  61 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L62' name='L62'></a>  62 
<a id='L63' name='L63'></a>  63 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong> <a href='../R/mc_search_struct.html' title='Multiple referred from 2 places.'>mc_search_struct</a>
<a id='L64' name='L64'></a>  64 <em class='brace'>{</em>
<a id='L65' name='L65'></a>  65     <em class='comment'>/* public input data */</em>
<a id='L66' name='L66'></a>  66 
<a id='L67' name='L67'></a>  67 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L68' name='L68'></a>  68     <em class='comment'>/* search in all charsets */</em>
<a id='L69' name='L69'></a>  69     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/is_all_charsets.html' title='Multiple used in 10 places.'>is_all_charsets</a>;
<a id='L70' name='L70'></a>  70 <em class='sharp'>#endif</em>
<a id='L71' name='L71'></a>  71 
<a id='L72' name='L72'></a>  72     <em class='comment'>/* case sensitive search */</em>
<a id='L73' name='L73'></a>  73     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/is_case_sensitive.html' title='Multiple used in 29 places.'>is_case_sensitive</a>;
<a id='L74' name='L74'></a>  74 
<a id='L75' name='L75'></a>  75     <em class='comment'>/* search only once.  Is this for replace? */</em>
<a id='L76' name='L76'></a>  76     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> is_once_only;
<a id='L77' name='L77'></a>  77 
<a id='L78' name='L78'></a>  78     <em class='comment'>/* search only whole words (from begin to end). Used only with NORMAL search type */</em>
<a id='L79' name='L79'></a>  79     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/whole_words.html' title='Multiple used in 19 places.'>whole_words</a>;
<a id='L80' name='L80'></a>  80 
<a id='L81' name='L81'></a>  81     <em class='comment'>/* search entire string (from begin to end). Used only with GLOB search type */</em>
<a id='L82' name='L82'></a>  82     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/is_entire_line.html' title='Multiple used in 8 places.'>is_entire_line</a>;
<a id='L83' name='L83'></a>  83 
<a id='L84' name='L84'></a>  84     <em class='comment'>/* function, used for getting data. NULL if not used */</em>
<a id='L85' name='L85'></a>  85     <a href='../Y/mc_search_fn.html' title='Multiple used in 2 places.'>mc_search_fn</a> <a href='../Y/search_fn.html' title='Multiple used in 9 places.'>search_fn</a>;
<a id='L86' name='L86'></a>  86 
<a id='L87' name='L87'></a>  87     <em class='comment'>/* function, used for updatin current search status. NULL if not used */</em>
<a id='L88' name='L88'></a>  88     <a href='../Y/mc_update_fn.html' title='Multiple used in 2 places.'>mc_update_fn</a> <a href='../Y/update_fn.html' title='Multiple used in 9 places.'>update_fn</a>;
<a id='L89' name='L89'></a>  89 
<a id='L90' name='L90'></a>  90     <em class='comment'>/* type of search */</em>
<a id='L91' name='L91'></a>  91     <a href='../S/lib--search.h.html#L50' title='Defined at 50 in lib/search.h.'>mc_search_type_t</a> <a href='../Y/search_type.html' title='Multiple used in 39 places.'>search_type</a>;
<a id='L92' name='L92'></a>  92 
<a id='L93' name='L93'></a>  93     <em class='comment'>/* public output data */</em>
<a id='L94' name='L94'></a>  94 
<a id='L95' name='L95'></a>  95     <em class='comment'>/* some data for normal */</em>
<a id='L96' name='L96'></a>  96     <a href='../Y/off_t.html' title='Multiple used in 521 places.'>off_t</a> <a href='../Y/normal_offset.html' title='Multiple used in 14 places.'>normal_offset</a>;
<a id='L97' name='L97'></a>  97 
<a id='L98' name='L98'></a>  98     <a href='../Y/off_t.html' title='Multiple used in 521 places.'>off_t</a> <a href='../Y/start_buffer.html' title='Multiple used in 5 places.'>start_buffer</a>;
<a id='L99' name='L99'></a>  99     <em class='comment'>/* some data for regexp */</em>
<a id='L100' name='L100'></a> 100     <strong class='reserved'>int</strong> <a href='../Y/num_results.html' title='Multiple used in 7 places.'>num_results</a>;
<a id='L101' name='L101'></a> 101     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/is_utf8.html' title='Multiple used in 5 places.'>is_utf8</a>;
<a id='L102' name='L102'></a> 102     <a href='../D/mc_search_matchinfo_t.html' title='Multiple defined in 2 places.'>mc_search_matchinfo_t</a> *<a href='../Y/regex_match_info.html' title='Multiple used in 18 places.'>regex_match_info</a>;
<a id='L103' name='L103'></a> 103     <a href='../Y/GString.html' title='Multiple used in 219 places.'>GString</a> *<a href='../Y/regex_buffer.html' title='Multiple used in 15 places.'>regex_buffer</a>;
<a id='L104' name='L104'></a> 104 <em class='sharp'>#ifdef</em> <a href='../Y/SEARCH_TYPE_PCRE.html' title='Multiple used in 2 places.'>SEARCH_TYPE_PCRE</a>
<a id='L105' name='L105'></a> 105     <strong class='reserved'>int</strong> <a href='../Y/iovector.html' title='Multiple used in 8 places.'>iovector</a>[<a href='../S/lib--search.h.html#L22' title='Defined at 22 in lib/search.h.'>MC_SEARCH__NUM_REPLACE_ARGS</a> * 2];
<a id='L106' name='L106'></a> 106 <em class='sharp'>#endif</em>                          <em class='comment'>/* SEARCH_TYPE_PCRE */</em>
<a id='L107' name='L107'></a> 107 
<a id='L108' name='L108'></a> 108     <em class='comment'>/* private data */</em>
<a id='L109' name='L109'></a> 109 
<a id='L110' name='L110'></a> 110     <em class='comment'>/* prepared conditions */</em>
<a id='L111' name='L111'></a> 111     <a href='../Y/GPtrArray.html' title='Multiple used in 61 places.'>GPtrArray</a> *<a href='../Y/conditions.html' title='Multiple used in 7 places.'>conditions</a>;
<a id='L112' name='L112'></a> 112 
<a id='L113' name='L113'></a> 113     <em class='comment'>/* original search string */</em>
<a id='L114' name='L114'></a> 114     <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> *<a href='../Y/original.html' title='Multiple used in 18 places.'>original</a>;
<a id='L115' name='L115'></a> 115     <a href='../Y/gsize.html' title='Multiple used in 187 places.'>gsize</a> <a href='../Y/original_len.html' title='Multiple used in 17 places.'>original_len</a>;
<a id='L116' name='L116'></a> 116 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L117' name='L117'></a> 117     <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> *<a href='../Y/original_charset.html' title='Multiple used in 15 places.'>original_charset</a>;
<a id='L118' name='L118'></a> 118 <em class='sharp'>#endif</em>
<a id='L119' name='L119'></a> 119 
<a id='L120' name='L120'></a> 120     <em class='comment'>/* error code after search */</em>
<a id='L121' name='L121'></a> 121     <a href='../S/lib--search.h.html#L41' title='Defined at 41 in lib/search.h.'>mc_search_error_t</a> <a href='../Y/error.html' title='Multiple used in 229 places.'>error</a>;
<a id='L122' name='L122'></a> 122     <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> *<a href='../Y/error_str.html' title='Multiple used in 18 places.'>error_str</a>;
<a id='L123' name='L123'></a> 123 <em class='brace'>}</em> <a href='../R/mc_search_t.html' title='Multiple referred from 72 places.'>mc_search_t</a>;
<a id='L124' name='L124'></a> 124 
<a id='L125' name='L125'></a> 125 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong> mc_search_type_str_struct
<a id='L126' name='L126'></a> 126 <em class='brace'>{</em>
<a id='L127' name='L127'></a> 127     <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/str.html' title='Multiple used in 587 places.'>str</a>;
<a id='L128' name='L128'></a> 128     <a href='../S/lib--search.h.html#L50' title='Defined at 50 in lib/search.h.'>mc_search_type_t</a> <a href='../Y/type.html' title='Multiple used in 300 places.'>type</a>;
<a id='L129' name='L129'></a> 129 <em class='brace'>}</em> <a href='../R/mc_search_type_str_t.html' title='Multiple referred from 5 places.'>mc_search_type_str_t</a>;
<a id='L130' name='L130'></a> 130 
<a id='L131' name='L131'></a> 131 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L132' name='L132'></a> 132 
<a id='L133' name='L133'></a> 133 <em class='comment'>/* Error messages */</em>
<a id='L134' name='L134'></a> 134 <strong class='reserved'>extern</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/STR_E_NOTFOUND.html' title='Multiple used in 11 places.'>STR_E_NOTFOUND</a>;
<a id='L135' name='L135'></a> 135 <strong class='reserved'>extern</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/STR_E_UNKNOWN_TYPE.html' title='Multiple used in 3 places.'>STR_E_UNKNOWN_TYPE</a>;
<a id='L136' name='L136'></a> 136 <strong class='reserved'>extern</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/STR_E_RPL_NOT_EQ_TO_FOUND.html' title='Multiple used in 3 places.'>STR_E_RPL_NOT_EQ_TO_FOUND</a>;
<a id='L137' name='L137'></a> 137 <strong class='reserved'>extern</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/STR_E_RPL_INVALID_TOKEN.html' title='Multiple used in 3 places.'>STR_E_RPL_INVALID_TOKEN</a>;
<a id='L138' name='L138'></a> 138 
<a id='L139' name='L139'></a> 139 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L140' name='L140'></a> 140 
<a id='L141' name='L141'></a> 141 <a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> *<a href='../S/lib--search--search.c.html#L137' title='Defined at 137 in lib/search/search.c.'>mc_search_new</a> (<strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/original.html' title='Multiple used in 18 places.'>original</a>, <strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/original_charset.html' title='Multiple used in 15 places.'>original_charset</a>);
<a id='L142' name='L142'></a> 142 
<a id='L143' name='L143'></a> 143 <a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> *<a href='../S/lib--search--search.c.html#L156' title='Defined at 156 in lib/search/search.c.'>mc_search_new_len</a> (<strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/original.html' title='Multiple used in 18 places.'>original</a>, <a href='../Y/gsize.html' title='Multiple used in 187 places.'>gsize</a> <a href='../Y/original_len.html' title='Multiple used in 17 places.'>original_len</a>,
<a id='L144' name='L144'></a> 144                                 <strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/original_charset.html' title='Multiple used in 15 places.'>original_charset</a>);
<a id='L145' name='L145'></a> 145 
<a id='L146' name='L146'></a> 146 <strong class='reserved'>void</strong> <a href='../S/lib--search--search.c.html#L180' title='Defined at 180 in lib/search/search.c.'>mc_search_free</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> * <a href='../Y/lc_mc_search.html' title='Multiple used in 170 places.'>lc_mc_search</a>);
<a id='L147' name='L147'></a> 147 
<a id='L148' name='L148'></a> 148 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--search--search.c.html#L210' title='Defined at 210 in lib/search/search.c.'>mc_search_prepare</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> * <a href='../S/lib--search--search.c.html#L432' title='Defined at 432 in lib/search/search.c.'>mc_search</a>);
<a id='L149' name='L149'></a> 149 
<a id='L150' name='L150'></a> 150 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--search--search.c.html#L280' title='Defined at 280 in lib/search/search.c.'>mc_search_run</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> * <a href='../S/lib--search--search.c.html#L432' title='Defined at 432 in lib/search/search.c.'>mc_search</a>, <strong class='reserved'>const</strong> <strong class='reserved'>void</strong> *<a href='../Y/user_data.html' title='Multiple used in 57 places.'>user_data</a>, <a href='../Y/gsize.html' title='Multiple used in 187 places.'>gsize</a> <a href='../S/src--filemanager--panel.c.html#L2736' title='Defined at 2736 in src/filemanager/panel.c.'>start_search</a>,
<a id='L151' name='L151'></a> 151                         <a href='../Y/gsize.html' title='Multiple used in 187 places.'>gsize</a> <a href='../Y/end_search.html' title='Multiple used in 16 places.'>end_search</a>, <a href='../Y/gsize.html' title='Multiple used in 187 places.'>gsize</a> * <a href='../Y/found_len.html' title='Multiple used in 39 places.'>found_len</a>);
<a id='L152' name='L152'></a> 152 
<a id='L153' name='L153'></a> 153 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--search--search.c.html#L328' title='Defined at 328 in lib/search/search.c.'>mc_search_is_type_avail</a> (<a href='../S/lib--search.h.html#L50' title='Defined at 50 in lib/search.h.'>mc_search_type_t</a>);
<a id='L154' name='L154'></a> 154 
<a id='L155' name='L155'></a> 155 <strong class='reserved'>const</strong> <a href='../S/lib--search.h.html#L129' title='Defined at 129 in lib/search.h.'>mc_search_type_str_t</a> *<a href='../S/lib--search--search.c.html#L346' title='Defined at 346 in lib/search/search.c.'>mc_search_types_list_get</a> (<a href='../Y/size_t.html' title='Multiple used in 726 places.'>size_t</a> * <a href='../Y/num.html' title='Multiple used in 71 places.'>num</a>);
<a id='L156' name='L156'></a> 156 
<a id='L157' name='L157'></a> 157 <a href='../Y/GString.html' title='Multiple used in 219 places.'>GString</a> *<a href='../S/lib--search--search.c.html#L358' title='Defined at 358 in lib/search/search.c.'>mc_search_prepare_replace_str</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> * <a href='../S/lib--search--search.c.html#L432' title='Defined at 432 in lib/search/search.c.'>mc_search</a>, <a href='../Y/GString.html' title='Multiple used in 219 places.'>GString</a> * <a href='../Y/replace_str.html' title='Multiple used in 53 places.'>replace_str</a>);
<a id='L158' name='L158'></a> 158 <strong class='reserved'>char</strong> *<a href='../S/lib--search--search.c.html#L392' title='Defined at 392 in lib/search/search.c.'>mc_search_prepare_replace_str2</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> * <a href='../Y/lc_mc_search.html' title='Multiple used in 170 places.'>lc_mc_search</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/replace_str.html' title='Multiple used in 53 places.'>replace_str</a>);
<a id='L159' name='L159'></a> 159 
<a id='L160' name='L160'></a> 160 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--search--search.c.html#L406' title='Defined at 406 in lib/search/search.c.'>mc_search_is_fixed_search_str</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> *);
<a id='L161' name='L161'></a> 161 
<a id='L162' name='L162'></a> 162 <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> **<a href='../S/lib--search--lib.c.html#L239' title='Defined at 239 in lib/search/lib.c.'>mc_search_get_types_strings_array</a> (<a href='../Y/size_t.html' title='Multiple used in 726 places.'>size_t</a> * <a href='../Y/num.html' title='Multiple used in 71 places.'>num</a>);
<a id='L163' name='L163'></a> 163 
<a id='L164' name='L164'></a> 164 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--search--search.c.html#L432' title='Defined at 432 in lib/search/search.c.'>mc_search</a> (<strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/pattern.html' title='Multiple used in 28 places.'>pattern</a>, <strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/pattern_charset.html' title='Multiple used in 3 places.'>pattern_charset</a>, <strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/str.html' title='Multiple used in 587 places.'>str</a>,
<a id='L165' name='L165'></a> 165                     <a href='../S/lib--search.h.html#L50' title='Defined at 50 in lib/search.h.'>mc_search_type_t</a> <a href='../Y/type.html' title='Multiple used in 300 places.'>type</a>);
<a id='L166' name='L166'></a> 166 
<a id='L167' name='L167'></a> 167 <strong class='reserved'>int</strong> <a href='../S/lib--search--search.c.html#L459' title='Defined at 459 in lib/search/search.c.'>mc_search_getstart_result_by_num</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> *, <strong class='reserved'>int</strong>);
<a id='L168' name='L168'></a> 168 <strong class='reserved'>int</strong> <a href='../S/lib--search--search.c.html#L481' title='Defined at 481 in lib/search/search.c.'>mc_search_getend_result_by_num</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> *, <strong class='reserved'>int</strong>);
<a id='L169' name='L169'></a> 169 
<a id='L170' name='L170'></a> 170 <em class='comment'>/* *INDENT-OFF* */</em>
<a id='L171' name='L171'></a> 171 <strong class='reserved'>void</strong> <a href='../S/lib--search--search.c.html#L510' title='Defined at 510 in lib/search/search.c.'>mc_search_set_error</a> (<a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> * <a href='../Y/lc_mc_search.html' title='Multiple used in 170 places.'>lc_mc_search</a>, <a href='../S/lib--search.h.html#L41' title='Defined at 41 in lib/search.h.'>mc_search_error_t</a> <a href='../Y/code.html' title='Multiple used in 120 places.'>code</a>, <strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/format.html' title='Multiple used in 125 places.'>format</a>, ...)
<a id='L172' name='L172'></a> 172      <a href='../D/G_GNUC_PRINTF.html' title='Multiple defined in 6 places.'>G_GNUC_PRINTF</a> (3, 4);
<a id='L173' name='L173'></a> 173 <em class='comment'>/* *INDENT-ON* */</em>
<a id='L174' name='L174'></a> 174 
<a id='L175' name='L175'></a> 175 <em class='sharp'>#endif</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+175 lib/search.h'  /> */</em>
</body>
</html>
